Product Ordering Biz Api
PA Market
POST /productOrder Key Points
1. PREPAID Order
Category identifies whether the user is Prepaid.
productOffering.id refers to plan id.
relatedParty.id refers to the service number or MSISDN.
In response, state field examples are - rejected, completed, etc.
In negative scenarios, we get "cancellation reason " in the API response. For example- Oferta invalida etc.
No queryParams required for prepaid orders.
For sample req, Please refer example API specification section.
Please refer to below error sample for any provisioning error from OCS.
channel.name is mandatory to identify the channel.
Limitations :-
- current API will accept only one offer and provision same.
Possible response error
[409] Conflict
{
"category": "PREPAID",
"orderDate": "2023-10-23T05:27:28.261-04:00",
"cancellationReason": "Oferta invalida",
"state": "rejected",
"productOrderItem": [
{
"id": "1",
"quantity": 1,
"action": "add",
"productOffering": {
"id": "1234",
"name": "",
"@referredType": "Campaing Offer"
}
}
],
"relatedParty": [
{
"id": "65554122",
"@referredType": "logicalResource"
}
],
"@type": "ProductOrder"
}